Reducing power usage in a personal computer

ABSTRACT

Power usage in a personal computer is reduced by repetitively performing the following sequence of steps: a. generate a wake-up signal in connection with a user beginning to interact with the computer; b. in response to the wake-up signal, switch at least a portion of the computer into a more fully powered mode; and c. keep the portion of the computer in the more fully powered mode only as long as the user is delivering input to the computer, and thereafter immediately switch the portion of the computer into a less fully powered mode. A detector issues a wake-up signal when a user begins to interact with the computer; and control circuitry connected to the sensor switches between the more fully powered mode and the less fully powered mode. The sensor may be mounted in a keyboard that includes an array of keys, and a sensor mounted in a position to detect use of the keyboard even when the keyboard is in an unpowered state.

This is a continuation of application Ser. No. 08/450,375, filed May 25, 1995, now abandoned, which was a continuation of application Ser. No. 08/301,664, filed Sep. 7, 1994, now abandoned.

BACKGROUND

This invention relates to reducing power usage in a personal computer.

In a laptop computer, for example, one scheme to lower power usage (to make the battery last longer before recharging) shuts off the display and the hard-drive motor and switches the microprocessor into a sleep mode if no key has been pressed for a preset time-out period, and turns them on again as soon as a key is next pressed. Additional power can be saved by having the keyboard control circuit operate only periodically, rather than continually, as it watches for a key to be pressed. If a key is pressed after the microprocessor has been asleep or the disk-drive motor has been off, there is a delay before the microprocessor or the disk drive is fully operable and the computer is again ready to interact with the user.

SUMMARY

In general, in one aspect of the invention, power usage in a personal computer is reduced by repetitively performing the following sequence of steps: a. generate a wake-up signal in connection with a user beginning to interact with the computer; b. in response to the wake-up signal, switch at least a portion of the computer into a more fully powered mode; and c. keep the portion of the computer in the more fully powered mode only as long as the user is delivering input to the computer, and then switch the portion of the computer into a less fully powered mode.

Implementations of the invention may include the following features. The wake-up signal may be generated in response to sensing an action by the user. The action being sensed may be the user touching an input device of the computer; or the user coming into proximity with the computer; or the user speaking or otherwise making a noise. The sensing may be done by detecting a voltage generated by a piezoelectric device. The input device may be a keyboard, or a track ball or a mouse, or a touch pad or a touch screen. The less fully powered mode may comprise delivering a reduced level of power (or no power) to a keyboard control circuit of the kind which converts keypresses to key codes; or delivering no power to controller integrated circuits, discrete logic devices, or driver circuits.

While the portion of the computer is in the less fully powered mode, some components of the computer may be maintained at full power until a time-out period has elapsed and then the power to those components may be reduced until the wake-up signal is generated. The components maintained at full power may be those that exhibit a delay when powered up before they are operational, e.g., a main microprocessor, or a hard disk motor, or a display screen.

In general, in another aspect, the invention features the apparatus for reducing power usage. The apparatus includes a detector which issues a wake-up signal when a user begins to interact with the computer. Control circuitry is connected to the sensor and switches at least a portion of the computer into a more fully powered mode in response to the wake-up signal, and keeps the portion of the computer in the more fully powered mode only as long as the user is delivering input to the computer, and then switches the portion of the computer to a less fully powered mode.

Implementations of the invention may include the following features.

The detector may be comprised of a sensor mounted on the computer. The sensor may be comprised of a sound sensor, or a temperature sensor, or a strain sensor. The sensor may be a piezoelectric sensor mounted, e.g., in a keyboard of the computer, in a position near one of the keys.

In general, in another aspect, the invention features a keyboard of the kind that may be in a powered state in which keypresses are detected by keyboard driver circuitry or in an unpowered state in which keypresses are not detected by keyboard driver circuitry. The keyboard includes an array of keys, and a sensor mounted in a position to detect use of the keyboard even when the keyboard is in the unpowered state.

Other advantages and features of the invention will become apparent from the following description and from the claims.

DESCRIPTION

FIG. 1 is a perspective view of parts of a personal computer.

FIG. 2 is a timing diagram.

FIG. 3 is a functional block diagram of a power control circuit.

FIG. 4 is a flow chart of a power control process.

FIG. 5 is a perspective view of a personal computer.

Referring to FIG. 1, to save power in a personal computer 10, a keyboard 12 is fitted with a piezoelectric sensor 14 (e.g., of the kind made from Kynar Piezo Film and available from Pennwalt in Philadelphia, Pa.). Keyboard 12 may be free standing or integrated into the case of a portable personal computer. The sensor is connected via additional wires 15, held within the usual keyboard cable 16, to a power control circuit 18 mounted on a motherboard 20 housed within the computer's "box" (not shown in FIG. 1). The power control circuit 18 controls delivery of power from a power source 24 (e.g., a battery, or a power converter fed from a wall outlet) to components on the motherboard and to other power using devices (e.g., a monitor and disk drive motors-not shown in FIG. 1). As part of its functions, the power control circuit 18 performs the usual steps of reducing power to the main microprocessor 22, the monitor, and the disk drive motors when the computer enters a "sleep" mode, and returning power to normal when the sleep mode ends. In the invention, the power control circuit also reduces (in some cases to zero) the power delivered to at least some of the components and devices whenever the user is not actively using the keyboard. Circuit 18 then promptly switches to delivering full power to those components when the user is actively using the keyboard (e.g., stroking keys).

The components on the motherboard 20 which may receive reduced, or even zero, power during periods of inactivity may include peripheral controllers and system controllers in the form of ASICs (application specific integrated circuits) 24, 26, 28, discrete logic components 30, 32, 34, and a variety of passive discrete components 36, 38, 40 (resistors, capacitors, inductors).

Referring to FIG. 2, to save power, the power control circuit governs the mode of operation in accordance with user activity, e.g., keystrokes, in a way illustrated by the following example. The computer begins in the off mode at time t0. At time t1 the computer is switched on and is placed in the reduced power mode in which components which require a period of time to come up to full operation (disk drive motors, monitor, main microprocessor) are driven to full power, while other components which can respond almost immediately to being turned on are driven at reduced (or zero) power. In the reduced power mode, the computer is ready to respond essentially immediately to any keystroke or other user activity by switching to full power mode, but is drawing less power than it would in full power mode. At time t2 the user presses a key. This causes the piezoelectric sensor to generate a voltage across its wires. The voltage is detected by the power control circuitry, which immediately switches the computer operation to full power mode. (Among other things, this turns on a keyboard control circuit 42 (FIG. 1) quickly enough to enable it to capture the code of the stroked key in the usual way. It also causes other components and devices (previously receiving reduced or zero power) to receive full power so that they are ready to react depending on the meaning of the stroked key. Keyboard control circuit 42 provides power to the typical keyboard switch matrix via, e.g., 28 lines contained in the keyboard cable, and detects, in the usual way, which key is stroked by analyzing the combination of signals which result on the 28 lines when a key is pressed.

In the period from t2 to t3, additional keys are stroked in rapid enough succession so that the delays between keystrokes are quite brief. The power control circuit includes logic (described below) which enables it to determine when the user has stopped active use of the keyboard, e.g., at or slightly later than time t3. As soon as the determination has been made, the power control circuit returns the computer to reduced power mode.

Also beginning at the time when inactivity is first determined by the power control circuit, a timer is started as a basis for triggering a sleep mode of the kind provided by many Intel microprocessors, and by software-based power saving schemes. Upon each key press, the timer is reset. When the timer times out, e.g., at time t4, the power control circuit switches the computer into the sleep mode. In sleep mode, power is typically reduced (even to zero) to the monitor, the hard disk motors, and reduced to the main microprocessor to keep it "alive" but not fully operational. When a key is subsequently pressed, at time t5, the computer would be switched to the full power mode. The computer would then switch back and forth between reduced power and full power modes as activity stopped and started. In one scheme the power control circuit could switch to full power upon each keystroke and switch back to reduced power immediately after each keystroke even when keystrokes appear in rapid succession, as illustrated in the period between t5 an t6. At time t7 the computer has been shut off.

Referring to FIG. 3, the power control circuit includes a state machine with logic 50 which keeps track of the off/sleep/full power/reduced power mode of the computer based on signals from an on/off switch, a clock 52, time out signals from timers 54 driven by the clock, and activity signals from a detection/filtering/signal processing element 56. Element 56 detects signals from the keyboard sensor 14 and possibly from sensors at other locations on the computer, filters the detected signals, and performs signal processing to develop the activity signals. The state machine and logic 50 apply appropriate algorithms based on the current state, the activity signals, the clock, and the timers to determine the next state (i.e., mode).

A wide variety of algorithms could be applied by the state machine and logic 50. In one simple approach, each keystroke would result in an activity signal and trigger the start of a brief timer. If another keystroke activity signal appears before the timer times out, the full power mode is continued. Otherwise the computer is returned to the reduced power mode and the power control circuit waits for another keystroke. In another approach, the running average number of keystroke activity signals appearing in some time period (e.g., ten seconds) is used as an indication of continued active use. The object of any algorithm would be to take advantage of the power savings afforded by the reduced power and sleep modes. As noted above, it may even be possible not to apply any logic to determine if keyboard activity is continuing, but rather simply to enter reduced power mode immediately after each key stroke and enter full power mode immediately upon each keystroke.

Referring to FIG. 4, when the computer is turned on, the state machine and logic 50 is initialized 60 and enters the reduced power mode 62. The sleep mode timer is started 64. Then, if the sleep mode timer times out 66 before an activity signal is received 68, sleep mode is entered 70. Otherwise, when the activity signal is received, full power mode is entered 72. Once sleep mode is entered, the system waits for an activity signal to be received 68. After entering full power mode, the activity timer is started 74 (in the case where such a timer is used). If the activity timer times 76 out before an activity signal is received 78, reduced power mode is again entered and the cycle repeats. Otherwise the computer enters full power mode.

The choice of sensors, their locations on the computer, and the signal processing and algorithms applied to the signals received from them may vary widely to achieve a variety of features. The piezoelectric sensor, for example, is sensitive to sound, stress, and heat, so it is not necessary to provide a sensor surface under each key of the keyboard. Only a small single sensor need be placed in close enough proximity to the keys to be triggered by keyboard use.

Because the sensor would be sensitive even to the presence of a person near the computer (because of heat or noise generated by the person), it could be used to cause the computer to switch from sleep mode to reduced power mode or from reduced power mode to full power mode and back again when a person approaches or walks away from the computer. On the other hand, when the person is using the computer, it may be annoying (or wasteful of power) to have the computer react to anything other than the use of the keyboard. The filters and signal processors in element 56 may be used to analyze the nature of the sensor signals being received, and the state machine and logic 50 could be arranged to react accordingly. In addition, the user could be provided with a software-based user interface that enables him to control the operation of the power control circuit. For example, the user on one occasion may tell the power control circuit to be sensitive only to actual keystrokes, while on another occasion may tell it to be sensitive to noises and heat in the room (in effect telling the computer to enter sleep mode because he is leaving the room, but to enter reduced power mode when it "hears" him return to the room).

There are also other embodiments within the scope of the following claims. For example, other kinds of sensors (capacity, stress, temperature, light) could be used instead of piezoelectric sensors. Referring to FIG. 5, other sensors could be placed at other locations on the keyboard 12 or on other parts of the computer, including the monitor 90, a mouse 92, a trackball 94, a touch pad 96, or a touch screen 98. Sensors could be placed in more than one location and the power control circuit could use signals from two or more of them to decide on what power control action to take. Various combinations of components and devices may be given reduced power, no power, full power, or other power levels, in different selectable modes. The techniques of the invention could be applied electronic devices, other than personal computers, in which user activity is intermittent. The keyboard could also be of other types, e.g., the "smart" type which contains a powered dedicated processor for keycode conversion. 

What is claimed is:
 1. An apparatus for reducing power usage in a personal computer, comprising:control circuitry connected to reduce power delivery to a component of the computer based on a period of time required for the component to return to a fully operational state from a less fully powered mode; and a person sensing device which issues a wake-up signal to the control circuitry when a user begins interacting with the computer, the control circuitry responding to the wake-up signal by switching the component to a more fully powered mode only as long as the user is interacting with the computer, and thereafter switching the component to the less fully powered mode.
 2. The apparatus of claim 1 wherein the person sensing device comprises a sensor mounted on the computer.
 3. The apparatus of claim 1 wherein the person sensing device comprises a sound sensor.
 4. The apparatus of claim 1 wherein the person sensing device comprises a temperature sensor.
 5. The apparatus of claim 1 wherein the person sensing device comprises a strain sensor.
 6. The apparatus of claim 1 wherein the person sensing device comprises a piezoelectric sensor.
 7. The apparatus of claim 1 wherein the person sensing device is mounted in a keyboard of the computer.
 8. The apparatus of claim 7 wherein the sensor is mounted in a position near one of the keys of the keyboard.
 9. The apparatus of claim 1 wherein the person sensing device comprises a light sensor.
 10. The apparatus of claim 1 wherein the less fully powered mode comprises a zero powered mode.
 11. The apparatus of claim 6, wherein the component is selected from the group consisting of a peripheral controller in the form of an ASIC, a system controller in the form of an ASIC, a keyboard control circuit, a discrete logic component, a passive discrete component, and combinations thereof.
 12. The apparatus of claim 1, wherein the component comprises a first component requiring a period of time to return to a fully operational state and a second component which returns to a fully operational state almost immediately.
 13. The apparatus of claim 12, wherein the first component comprises a component selected from the group consisting of a microprocessor, a monitor, and a disk drive motor.
 14. The apparatus of claim 12, wherein the second component comprises a component selected from the group consisting of a peripheral controller in the form of an ASIC, a system controller in the form of an ASIC, a keyboard control circuit, a discrete logic component, and a passive discrete logic component.
 15. The apparatus of claim 14, wherein the less fully powered mode comprises zero power delivery.
 16. A computer system, comprising:a person sensing device which issues a wake-up signal when a user begins interacting with the computer; control circuitry which is connected to the person sensing device and reduces power delivery to a component of the computer based on a period of time required for the component to return to a fully operational state from a less fully powered mode; and a microprocessor which is connected to the control circuitry.
 17. The computer system of claim 16 wherein the person sensing device comprises a sensor mounted on the computer.
 18. The computer system of claim 16 wherein the person sensing device comprises a sound sensor.
 19. The computer system of claim 16 wherein the person sensing device is mounted in a position near one of the keys of the keyboard.
 20. The computer system of claim 16 wherein the person sensing device comprises a temperature sensor.
 21. The computer system of claim 16 wherein the person sensing device comprises a strain sensor.
 22. The computer system of claim 16 wherein the person sensing device comprises a piezoelectric sensor.
 23. The computer system of claim 22 wherein the person sensing device is mounted in a keyboard of the computer.
 24. The computer system of claim 16 wherein the person sensing device comprises a light sensor.
 25. The computer system of claim 16 wherein the less fully powered mode comprises a zero powered mode.
 26. The computer system of claim 25, wherein the component is selected from the group consisting of a peripheral controller in the form of an ASIC, a system controller in the form of an ASIC, a keyboard control circuit, a discrete logic component, a passive discrete component, and combinations thereof. 